const getters = {
  sidebar: state => state.app.sidebar,
  size: state => state.app.size,
  device: state => state.app.device,
  visitedViews: state => state.tagsView.visitedViews,
  cachedViews: state => state.tagsView.cachedViews,
  token: state => state.user.token,
  avatar: state => state.user.avatar,
  name: state => state.user.name,
  introduction: state => state.user.introduction,
  roles: state => state.user.roles,
  leftMenu: state => state.user.leftMenu,
  menu: state => state.user.menu,
  routes: state => state.user.routes,
  addRoutes: state => state.user.addRoutes,
  errorLogs: state => state.errorLog.logs,
  // 兼职部门主键
  partId: state => state.user.partId,
  // 按钮权限
  permissions: state => state.user.permissions,
  day: state => state.user.day,
  phone: state => state.user.phone,
  enterpriseExpiryTime: state => state.user.enterpriseExpiryTime,
  // 人员信息
  userInfo: state => state.user.userInfo,
  // 用户信息
  sysAccount: state => state.user.sysAccount,
  userType: state => state.user.userType
}
export default getters
